package com.itheima.consumer;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDubbo(scanBasePackages = "com.itheima.consumer.controller")  // 扫描 有@Reference注解的包路径
public class ConsumerMain  {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerMain.class, args);
        System.out.println("----消费者启动----");
    }
}
